Reading a MAXIM 6675 SPI temperature sensor

The MAXIM 6675 is a chip which can be connected to the SPI bus of the IO-Warrior.
It measures the temperature (needs an extra temperature sensor) from 0 to 1023.75 degrees Celsius.

The demo acceses the first IO-Warrior 24 found expecting it to have the MAXIM 6675 connected.
Only the IO-Warrior 24 is able to handle the SPI bus.

Since temperature measurement is slow, the demo uses a 1 sec timer to access the MAXIM 6675.

The main obstacle of implementing the demo is reading and understanding the MAXIM 6675 datasheet.
The chip delivers two bytes of a data word high byte first. The lowest 3 bits are flags.
The rest of the word contains the temperature in 1/4 degree Celsius from 0 degree Celsius upwards.
The value is signed, but is always positive.

A chart component has been added as eye candy. It shows the last 60 values (last minute).